import request from "@/utils/axiosHttp";


// 资料详情
export function deviceMerchantsInformation(query) {
	return request({
		url: '/deviceMerchants/information',
		method: 'get',
		params: query
	})
}

// 新增
export function deviceMerchantsAdd(data) {
	return request({
		url: '/deviceMerchants/addInformation',
		method: 'post',
		data: data
	})
}

//修改
export function deviceMerchantsUpdate(data) {
	return request({
		url: '/deviceMerchants/updateInformation',
		method: 'post',
		data: data
	})
}

// 获取支付授权码
export function payQrCode(query) {
    return request({
        url: '/deviceMerchants/payQrCode',
        method: 'get',
        params: query
    });
}